// commons/diy/area/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    show_mobile: {
      type: Number,
      value: 1
    },
    show_top: {
      type: Number,
      value: 1
    },
    show_share: {
      type: Number,
      value: 1
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },
  ready: function () {
    this.setData({
      __wxapp_img: wx.getStorageSync('wxapp_img'),
      store: wx.getStorageSync('store')
    })
  },

  /**
   * 组件的方法列表
   */
  methods: {
    goTop: function () {
      this.triggerEvent('goTop')
    },
    showShareModal: function () {
      this.triggerEvent('showShareModal')
    }
  }
})
